import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import store from './store'
import globalConfig from './utils/config'
import ElementUI from 'element-ui'
import PaginationView from '@/components/PaginationView.vue'
import echarts from 'echarts'
import 'element-ui/lib/theme-chalk/index.css'
import moment from 'moment'

axios.defaults.baseURL = ''
Vue.use(ElementUI)
Vue.prototype.$moment = moment
Vue.config.productionTip = false
Vue.component('PaginationView', PaginationView)
Vue.prototype.$config = globalConfig
Vue.prototype.$echarts = echarts
new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
